package net.minecraft.src;
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.

// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode 

import java.util.List;

public class GuiYesNo extends GuiScreen {

	public GuiYesNo(GuiScreen guiscreen, String s, String s1, String s2, String s3, int i) {
		parentScreen = guiscreen;
		message1 = s;
		message2 = s1;
		field_22106_k = s2;
		field_22105_l = s3;
		worldNumber = i;
	}

	public void initGui() {
		controlList.add(new GuiSmallButton(0, (width / 2 - 155) + 0, height / 6 + 96, field_22106_k));
		controlList.add(new GuiSmallButton(1, (width / 2 - 155) + 160, height / 6 + 96, field_22105_l));
	}

	protected void actionPerformed(GuiButton guibutton) {
		parentScreen.confirmClicked(guibutton.id == 0, worldNumber);
	}

	public void drawScreen(int i, int j, float f) {
		drawDefaultBackground();
		drawCenteredString(fontRenderer, message1, width / 2, 70, 0xffffff);
		drawCenteredString(fontRenderer, message2, width / 2, 90, 0xffffff);
		super.drawScreen(i, j, f);
	}

	private GuiScreen parentScreen;
	private String message1;
	private String message2;
	private String field_22106_k;
	private String field_22105_l;
	private int worldNumber;
}
